package com.code.day19;

import java.io.File;

public class Demo18FileExists {
    public static void main(String[] args) {
        File file = new File("D:\\java-code\\java-full-stack\\01-java-base\\src\\com\\code\\day19\\img\\1706609679824.png");
        System.out.println(file.isDirectory());
        System.out.println(file.isFile());
        System.out.println(file.exists());
    }
}
